package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import org.hibernate.annotations.GenericGenerator;

/**
 * DispatchList对象 DispatchList
 *
 * @author liutietou
 * @since 1.0 2025-07-19
 */
@Entity
@Table(name = "dispatchlist")
@Data
public class DispatchList extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    @Column(name="dlid")
  //  @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    private Integer dlid;

    /**  */
    @Excel(name = "")
    @Column(name="cdlcode")
    private String cdlcode;

    /**  */
    @Excel(name = "")
    @Column(name="cvouchtype")
    private String cvouchtype;

    /**  */
    @Excel(name = "")
    @Column(name="cstcode")
    private String cstcode;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="ddate")
    private Date ddate;


    @Transient
    private List<Date> ddateRange;

    @Transient
    private  List<DispatchLists> dispatchLists;

    /**  */
    @Excel(name = "")
    @Column(name="crdcode")
    private String crdcode;

    /**  */
    @Excel(name = "")
    @Column(name="cdepcode")
    private String cdepcode;

    /**  */
    @Excel(name = "")
    @Column(name="cpersoncode")
    private String cpersoncode;

    /**  */
    @Excel(name = "")
    @Column(name="sbvid")
    private Integer sbvid;

    /**  */
    @Excel(name = "")
    @Column(name="csbvcode")
    private String csbvcode;

    /**  */
    @Excel(name = "")
    @Column(name="csocode")
    private String csocode;

    /**  */
    @Excel(name = "")
    @Column(name="ccuscode")
    private String ccuscode;

    /**  */
    @Excel(name = "")
    @Column(name="cpaycode")
    private String cpaycode;

    /**  */
    @Excel(name = "")
    @Column(name="csccode")
    private String csccode;

    /**  */
    @Excel(name = "")
    @Column(name="cshipaddress")
    private String cshipaddress;

    /**  */
    @Excel(name = "")
    @Column(name="cexch_name")
    private String cexchName;

    /**  */
    @Excel(name = "")
    @Column(name="iexchrate")
    private Long iexchrate;

    /**  */
    @Excel(name = "")
    @Column(name="itaxrate")
    private Long itaxrate;

    /**  */
    @Excel(name = "")
    @Column(name="bfirst")
    private Integer bfirst;

    /**  */
    @Excel(name = "")
    @Column(name="breturnflag")
    private Integer breturnflag;

    /**  */
    @Excel(name = "")
    @Column(name="bsettleall")
    private Integer bsettleall;

    /**  */
    @Excel(name = "")
    @Column(name="cmemo")
    private String cmemo;

    /**  */
    @Excel(name = "")
    @Column(name="csaleout")
    private String csaleout;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine1")
    private String cdefine1;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine2")
    private String cdefine2;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine3")
    private String cdefine3;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="cdefine4")
    private Date cdefine4;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine5")
    private Integer cdefine5;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="cdefine6")
    private Date cdefine6;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine7")
     private Long cdefine7;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine8")
    private String cdefine8;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine9")
    private String cdefine9;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine10")
    private String cdefine10;

    /**  */
    @Excel(name = "")
    @Column(name="cverifier")
    private String cverifier;

    /**  */
    @Excel(name = "")
    @Column(name="cmaker")
    private String cmaker;

    /**  */
    @Excel(name = "")
    @Column(name="inetlock")
    private  Float inetlock;

    /**  */
    @Excel(name = "")
    @Column(name="isale")
    private Integer isale;

    /**  */
    @Excel(name = "")
    @Column(name="ccusname")
    private String ccusname;

    /**  */
    @Excel(name = "")
    @Column(name="ivtid")
    private Integer ivtid;

    /**  */
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
//    @Column(name="ufts")
//    private Date ufts;

    /**  */
    @Excel(name = "")
    @Column(name="cbustype")
    private String cbustype;

    /**  */
    @Excel(name = "")
    @Column(name="ccloser")
    private String ccloser;

    /**  */
    @Excel(name = "")
    @Column(name="caccounter")
    private String caccounter;

    /**  */
    @Excel(name = "")
    @Column(name="ccrechpname")
    private String ccrechpname;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine11")
    private String cdefine11;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine12")
    private String cdefine12;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine13")
    private String cdefine13;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine14")
    private String cdefine14;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine15")
    private Integer cdefine15;

    /**  */
    @Excel(name = "")
    @Column(name="cdefine16")
    private Long cdefine16;

    /**  */
    @Excel(name = "")
    @Column(name="biafirst")
    private Integer biafirst;

    /**  */
    @Excel(name = "")
    @Column(name="ioutgolden")
    private Integer ioutgolden;

    /**  */
    @Excel(name = "")
    @Column(name="cgatheringplan")
    private String cgatheringplan;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dcreditstart")
    private Date dcreditstart;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dgatheringdate")
    private Date dgatheringdate;

    /**  */
    @Excel(name = "")
    @Column(name="icreditdays")
    private Integer icreditdays;

    /**  */
    @Excel(name = "")
    @Column(name="bcredit")
    private Integer bcredit;

    /**  */
    @Excel(name = "")
    @Column(name="caddcode")
    private String caddcode;

    /**  */
    @Excel(name = "")
    @Column(name="iverifystate")
    private Integer iverifystate;

    /**  */
    @Excel(name = "")
    @Column(name="ireturncount")
    private Integer ireturncount;

    /**  */
    @Excel(name = "")
    @Column(name="iswfcontrolled")
    private Integer iswfcontrolled;

    /**  */
    @Excel(name = "")
    @Column(name="icreditstate")
    private String icreditstate;

    /**  */
    @Excel(name = "")
    @Column(name="barfirst")
    private Integer barfirst;

    /**  */
    @Excel(name = "")
    @Column(name="cmodifier")
    private String cmodifier;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dmoddate")
    private Date dmoddate;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dverifydate")
    private Date dverifydate;

    /**  */
    @Excel(name = "")
    @Column(name="ccusperson")
    private String ccusperson;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dcreatesystime")
    private Date dcreatesystime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dverifysystime")
    private Date dverifysystime;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dmodifysystime")
    private Date dmodifysystime;

    /**  */
    @Excel(name = "")
    @Column(name="csvouchtype")
    private String csvouchtype;

    /**  */
    @Excel(name = "")
    @Column(name="iflowid")
    private Integer iflowid;

    /**  */
    @Excel(name = "")
    @Column(name="bsigncreate")
    private Integer bsigncreate;

    /**  */
    @Excel(name = "")
    @Column(name="bcashsale")
    private Integer bcashsale;

    /**  */
    @Excel(name = "")
    @Column(name="cgathingcode")
    private String cgathingcode;

    /**  */
    @Excel(name = "")
    @Column(name="cchanger")
    private String cchanger;

    /**  */
    @Excel(name = "")
    @Column(name="cchangememo")
    private String cchangememo;

    /**  */
    @Excel(name = "")
    @Column(name="outid")
    private String outid;

    /**  */
    @Excel(name = "")
    @Column(name="bmustbook")
    private Integer bmustbook;

    /**  */
    @Excel(name = "")
    @Column(name="cbookdepcode")
    private String cbookdepcode;

    /**  */
    @Excel(name = "")
    @Column(name="cbooktype")
    private String cbooktype;

    /**  */
    @Excel(name = "")
    @Column(name="bsaused")
    private Integer bsaused;

    /**  */
    @Excel(name = "")
    @Column(name="bneedbill")
    private Integer bneedbill;

    /**  */
    @Excel(name = "")
    @Column(name="baccswitchflag")
    private Integer baccswitchflag;

    /**  */
    @Excel(name = "")
    @Column(name="iprintcount")
    private Integer iprintcount;

    /**  */
    @Excel(name = "")
    @Column(name="ccuspersoncode")
    private String ccuspersoncode;

    /**  */
    @Excel(name = "")
    @Column(name="csourcecode")
    private String csourcecode;

    /**  */
    @Excel(name = "")
    @Column(name="bsaleoutcreatebill")
    private Integer bsaleoutcreatebill;

    /**  */
    @Excel(name = "")
    @Column(name="csysbarcode")
    private String csysbarcode;

    /**  */
    @Excel(name = "")
    @Column(name="ccurrentauditor")
    private String ccurrentauditor;

    /**  */
    @Excel(name = "")
    @Column(name="csscode")
    private String csscode;

    /**  */
    @Excel(name = "")
    @Column(name="cinvoicecompany")
    private String cinvoicecompany;

    /**  */
    @Excel(name = "")
    @Column(name="febweight")
    private BigDecimal febweight;

    /**  */
    @Excel(name = "")
    @Column(name="cebweightunit")
    private String cebweightunit;

    /**  */
    @Excel(name = "")
    @Column(name="cebexpresscode")
    private String cebexpresscode;

    /**  */
    @Excel(name = "")
    @Column(name="iebexpresscoid")
    private Long iebexpresscoid;

    /**  */
    @Excel(name = "")
    @Column(name="separateid")
    private Integer separateid;

    /**  */
    @Excel(name = "")
    @Column(name="bnottogoldtax")
    private Integer bnottogoldtax;

    /**  */
    @Excel(name = "")
    @Column(name="cebtrnumber")
    private String cebtrnumber;

    /**  */
    @Excel(name = "")
    @Column(name="cebbuyer")
    private String cebbuyer;

    /**  */
    @Excel(name = "")
    @Column(name="cebbuyernote")
    private String cebbuyernote;

    /**  */
    @Excel(name = "")
    @Column(name="ccontactname")
    private String ccontactname;

    /**  */
    @Excel(name = "")
    @Column(name="cebprovince")
    private String cebprovince;

    /**  */
    @Excel(name = "")
    @Column(name="cebcity")
    private String cebcity;

    /**  */
    @Excel(name = "")
    @Column(name="cebdistrict")
    private String cebdistrict;

    /**  */
    @Excel(name = "")
    @Column(name="cmobilephone")
    private String cmobilephone;

    /**  */
    @Excel(name = "")
    @Column(name="cinvoicecusname")
    private String cinvoicecusname;

    /**  */
    @Excel(name = "")
    @Column(name="cweighter")
    private String cweighter;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dweighttime")
    private Date dweighttime;

    /**  */
    @Excel(name = "")
    @Column(name="cpickvouchcode")
    private String cpickvouchcode;

    /**  */
    @Excel(name = "")
    @Column(name="cgcroutecode")
    private String cgcroutecode;

    /**  */
    @Excel(name = "")
    @Column(name="cbcode")
    private String cbcode;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dhclosedate")
    private Date dhclosedate;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @Column(name="dhclosesystime")
    private Date dhclosesystime;


}
